fontchooser: Block row deleted signal handler when reloading model
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 23 Aug 2017 11:54:46 +0000 (13:54 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 23 Aug 2017 18:41:18 +0000 (20:41 +0200)
commit5fdcfa4739416aa3d7746da1faeaa6903c4b48f1
tree0169e5886dbb6d5d3cb398595de393fa2866a0f0
parent84bcf7d4d3ec560c536f134d0dbcd0cb8ffa6e2b
fontchooser: Block row deleted signal handler when reloading model

This prevents the load_fonts() function from switching to the "no fonts"
page and back when the model is reloaded. Given
GtkSettings::gtk-fontconfig-timestamp is 0 on Wayland and style changes
happen often, the stack change messes up popovers and pointer focus
on the fonts treeview and test entry.
gtk/gtkfontchooserwidget.c